package com.nineclock.document.service;

import com.nineclock.common.entity.PageResult;
import com.nineclock.document.dto.*;

import javax.swing.text.Document;
import java.util.List;

public interface AppDocService {
    public DocumentDto findFolderAndFile(Long parentFoldId);

    void insertFolder(DocFolderDto docFolderDto);

    DocFileDto findDocFileById(Long id);

    PageResult<DocumentUserDTO> findCollaborationsByPage(Long fileId, Long page, Long pageSize);

    List<DocUserCollaborationDTO> findCompanyUsersByDocId(Long docId);
}
